//
//  SimpleCollectionViewCell.h
//  RSW.IOS
//
//  Created by zhaiqiuqiu on 16/12/18.
//  Copyright © 2016年 com.xtion.crm. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CollectionViewCell.h"

@class SimpleCollectionViewCell;

@protocol SimpleCollectionViewCellDelegate <NSObject>

-(void)simpleCollectionViewCell:(SimpleCollectionViewCell*)cell clickedButton:(id)sender info:(MenuInfo*)info;

@end

@interface SimpleCollectionViewCell : XUIGroupTableViewCell

@property(nonatomic,weak) id<SimpleCollectionViewCellDelegate> delegate;

@property(nonatomic,strong) NSString *title;
@property(nonatomic,strong) NSArray *qdData;
@property(nonatomic,assign) NSInteger itemCount;
@property(nonatomic,assign) UIEdgeInsets uiEdgeInsets;

@property(nonatomic,assign) BOOL hiddenTitle;

+(CGFloat)caleHeight:(NSInteger)dataCount itemCount:(NSInteger)itemCount itemHeight:(NSInteger)itemHeight hiddenTitle:(BOOL)hiddenTitle;
@end
